Solve MTCaptcha

Rajinder Singh
Deep Learning Researcher
29-Aug-2023

Solveing MtCaptcha

In this blog post, we'll focus on how to programmatically solve MtCaptcha using Capsolver API. This can be particularly useful for developers who are working on projects that require automating tasks that involve interacting with MtCaptcha protected websites.
Understanding MtCaptcha
MtCaptcha is a service that protects websites from bots and spam by presenting users with a challenge that needs to be solved to prove that they're human. Capsolver provides support for various types of MtCaptcha tasks. In this blog post, we'll be focusing on MtCaptchaTask and MtCaptchaTaskProxyLess types, the latter of which uses the server's built-in proxy.
Creating a Task for MtCaptcha
To solve MtCaptcha, the first step involves creating a task with the createTask method. This requires you to provide certain details like the type of task, the URL of the website using MtCaptcha, the public domain key, and more. Here's an overview of the task object structure:
json
{
"type": "MtCaptchaTask",
"websiteURL": "URL of the website using MtCaptcha",
"websiteKey": "Public domain key",
"proxy": "Proxy details",
"userAgent": "Browser's User-Agent used in emulation"
}
Once you've submitted the task, you should receive a 'Task ID' in the response if it's successful.
## Retrieving the Result of the Task
After you've created the task, you can retrieve the result using the getTaskResult method. Depending on the system load, the results can be obtained within an interval of 5s to 30s.
```json
POST https://api.capsolver.com/getTaskResult
Host: api.capsolver.com
Content-Type: application/json
{
"clientKey": "YOUR_API_KEY",
"taskId": "Task ID received from the createTask method"
}
Once the task status is ready, you should receive the result of the MtCaptcha challenge in the response.

Solving MtCaptcha with Python using Capsolver SDK
python
# pip install --upgrade capsolver
# export CAPSOLVER_API_KEY='...'
import capsolver
# capsolver.api_key = "..."
solution = capsolver.solve({
"type": "MtCaptchaTask",
"websiteKey": "MTPublic-tqNCRE0GS",
"websiteURL": "https://www.mtcaptcha.com/demo",
"proxy": "ip:port:username:password"
})
In the above code, YOUR_API_KEY should be replaced with your CapSolver API key, MTPublic-tqNCRE0GS should be replaced with the public key of the website with the MtCaptcha, and the "proxy" field should be replaced with the details of your proxy if you're using one. The solve function sends a request to create a task to solve the captcha, and it will return the solution when it's ready.
Pricing
For information on pricing, please visit our pricing page.
Solve MtCaptcha in any programming language (C#/PYTHON/JAVASCRIPT/PHP):
Visit this page
Compliance Disclaimer: The information provided on this blog is for informational purposes only. CapSolver is committed to compliance with all applicable laws and regulations. The use of the CapSolver network for illegal, fraudulent, or abusive activities is strictly prohibited and will be investigated. Our captcha-solving solutions enhance user experience while ensuring 100% compliance in helping solve captcha difficulties during public data crawling. We encourage responsible use of our services. For more information, please visit our Terms of Service and Privacy Policy.
More

What Is CAPTCHA and How to Solve It: Simple Guide for 2026
Tired of frustrating CAPTCHA tests? Learn what CAPTCHA is, why it's essential for web security in 2026, and the best ways to solve it fast. Discover advanced AI-powered CAPTCHA solving tools like CapSolver to bypass challenges seamlessly.

Anh Tuan
05-Dec-2025

Web scraping with Cheerio and Node.js 2026
Web scraping with Cheerio and Node.js in 2026 remains a powerful technique for data extraction. This guide covers setting up the project, using Cheerio's Selector API, writing and running the script, and handling challenges like CAPTCHAs and dynamic pages.

Ethan Collins
20-Nov-2025

Best Captcha Solving Service 2026, Which CAPTCHA Service Is Best?
Compare the best CAPTCHA solving services for 2026. Discover CapSolver's cutting-edge AI advantage in speed, 99%+ accuracy, and compatibility with Captcha Challenge

Lucas Mitchell
30-Oct-2025

Web Scraping vs API: Collect data with web scraping and API
Learn the differences between web scraping and APIs, their pros and cons, and which method is best for collecting structured or unstructured web data efficiently.

Rajinder Singh
29-Oct-2025

Auto-Solving CAPTCHAs with Browser Extensions: A Step-by-Step Guide
Browser extensions have revolutionized the way we interact with websites, and one of their remarkable capabilities is the ability to auto-solve CAPTCHAs..

Ethan Collins
23-Oct-2025

Solving AWS WAF Bot Protection: Advanced Strategies and CapSolver Integration
Discover advanced strategies for AWS WAF bot protection, including custom rules and CapSolver integration for seamless CAPTCHA solution in compliant business scenarios. Safeguard your web applications effectively.

Lucas Mitchell
23-Sep-2025

